﻿<%@ Page Language="C#" MasterPageFile="~/car-insurance/Car_Insurance.master" Async="true"
    AutoEventWireup="true" EnableEventValidation="false" MaintainScrollPositionOnPostback="true"
    CodeFile="your-request.aspx.cs" Inherits="car_insurance_your_request" %>

<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrPhoneNo.ascx" TagName="usrPhoneNo" TagPrefix="uc1" %>
<%@ Register Src="~/controls/usrIdNumber.ascx" TagName="usrIdNumber" TagPrefix="uc2" %>
<%@ Register Src="~/controls/usrDate.ascx" TagName="usrDate" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <link rel="stylesheet" type="text/css" href="../css/callme.css" />
    <link rel="stylesheet" type="text/css" href="../css/forms_results.css" />
    <link rel="stylesheet" type="text/css" href="../css/button.css" />
    <div id="divContent">
        <div class="container">
            <div id="contentBody_full">
                <h3>
                    Your Request</h3>
                <fieldset class="formouter">
                    <div class="body">
                        <div class="row_border">
                            <div class="w270px left">
                                <strong>You Prefer</strong></div>
                            <br />
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w270px left">
                                <asp:RadioButton runat="server" ID="rdoEmail" Text="Receive quote by Email" GroupName="UserOptions"
                                    ValidationGroup="userpref" /></div>
                            <div class="blue left">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w270px left">
                                <asp:RadioButton runat="server" ID="rdoCallMe" Text="Request Call Me" GroupName="UserOptions"
                                    ValidationGroup="userpref" /></div>
                            <div class="blue left">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w270px left">
                                <asp:RadioButton runat="server" ID="rdoBuy" Text="Buy Online" GroupName="UserOptions" Checked="true"
                                    ValidationGroup="userpref" /></div>
                            <div class="blue left">
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="seperator">
                        </div>
                        <div class="seperator">
                        </div>
                        <div class="row_border">
                            <div class="w270px left">
                                <strong>Check Your Details</strong></div>
                            <br />
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w300px left">
                                Full Name:</div>
                            <div class="left">
                                <asp:TextBox ID="txtFullName" Width="250" MaxLength="80" runat="server" ReadOnly="true"></asp:TextBox>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w300px left">
                                Email Address:</div>
                            <div class="left">
                                <asp:TextBox ID="txtEmail" runat="server" Width="250" MaxLength="100" ReadOnly="true"></asp:TextBox>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="row_border">
                            <div class="w300px left">
                                Mobile Number:</div>
                            <div class="left">
                                <uc1:usrPhoneNo ID="txtMobileNo" IsEnabled="true" IsRequired="true" PhoneNoRequireErrorMessage="Require mobile number."
                                    PhoneNoErrorMessage="Mobile phone number should 8 digits." PhoneNoValidErrorMessage="Invalid mobile phone number."
                                    runat="server" ValidationGroup="requestoptions" IsReadOnly="true" />
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="seperator">
                        </div>
                        <div class="seperator">
                        </div>
                        <div class="formButtons_new1">
                            <div class="cancel">
                                <asp:Button runat="server" ID="btnBack" Visible="true" onmousedown="this.className = 'button_back_mousedown';"
                                    onmouseup="this.className = 'button_back';" onmouseout="this.className = 'button_back';"
                                    CssClass="button_back" CausesValidation="false" OnClientClick="this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_processing';"
                                    OnClick="btnBack_Click" />
                            </div>
                           
                            <div class="nextstep">
                                <asp:Button ID="btnSubmit" runat="server" CssClass="button_submit" ValidationGroup="userpref"
                                    OnClientClick="LoadValidationErrorCss();ShowSubmitProgress('userpref');if (Page_ClientValidate('userpref')) { if(confirm('By pressing the submit button, you authorise CompareXpress to send your personal information to a 3rd party.')) {this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className='button_processing';return true;}} return false;"
                                    onmousedown="this.className = 'button_submit_mousedown';" onmouseup="this.className = 'button_submit';"
                                    onmouseout="this.className = 'button_submit';" OnClick="btnSubmit_Click" />
                            </div>
                          
                        </div>
                        <div class="seperator">
                        </div>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>
</asp:Content>
